1 link tagged with all of: cdp + chrome capture + playwright + puppeteer
Click any tag below to further narrow down your results
Links
This is a small open-source tool from Paul Irish that records a Chrome tab straight to AV1 mp4 using Chrome's new Page.startScreenRecording API, skipping the JPEG-and-ffmpeg pipeline that Playwright and Puppeteer have relied on. It works with Playwright, Puppeteer, or raw CDP, and the author says the implementation is small enough to copy.
- Chrome encodes frames in-flight over shared memory, so stopping a recording takes about 17ms instead of 3.8s, and a full benchmark run finishes roughly 10 seconds faster than the old recordVideo path.
- Frame rate and resolution determine bitrate: 1080p60 gets about 9 Mbps and 2160p120 about 72 Mbps, so raising resolution or fps effectively raises quality.
- Frame rates were verified by decoding a binary frame counter back out of the video, with 120fps achieved on a 120Hz ProMotion Mac in headful mode.